package com.bosssoft.cloud.wechat.core.bean.oauth2;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.io.Serializable;

/**
 * @author wcy create on 2021/6/23 15:41 下午
 */

@Data
public class WxOAuth2AccessToken implements Serializable {
    private static final long serialVersionUID = -1345910558078620805L;
    @JSONField(name = "access_token")
    private String accessToken;
    @JSONField(name = "expires_in")
    private int expiresIn = -1;
    @JSONField(name = "refresh_token")
    private String refreshToken;
    @JSONField(name = "openid")
    private String openId;
    @JSONField(name = "scope")
    private String scope;
    @JSONField(name = "unionid")
    private String unionId;
}

